package com.cyf.plc.di.builder

import com.cyf.plc.ui.MainActivity
import com.cyf.plc.ui.PlcHomeActivity
import com.cyf.plc.ui.PlcModeActivity
import dagger.Module
import dagger.android.ContributesAndroidInjector
import kotlinx.coroutines.ExperimentalCoroutinesApi

@Module
abstract class ActivityBuilder {

    @ExperimentalCoroutinesApi
    @ContributesAndroidInjector
    abstract fun bindMainActivity(): MainActivity

    @ExperimentalCoroutinesApi
    @ContributesAndroidInjector
    abstract fun bindPlcHomeActivity(): PlcHomeActivity

    @ExperimentalCoroutinesApi
    @ContributesAndroidInjector
    abstract fun bindPlcModeActivity(): PlcModeActivity
}
